updating oE safe_address

safe_address

include std/machine.e 
public function safe_address(machine_addr start, natural len,  
              positive_int action ) 

action is some bitwise-or combination of the following constants: A_READ, A_WRITE and A_EXECUTE.

Returns:

When Safe Mode is turned on, this returns true iff it is ok to perform action all addresses from start to start+len-1.

When Safe Mode is not turned on, this always returns true.

Comments:

This is used mostly inside the safe library itself to check whenever you call Machine Level Access Functions or Procedures. It should only be used for debugging purposes.

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu